@import "../mixins";
@import "common";
@import "../common/ui";

.gray-bg {

    #root {
        background-color: $gray;
    }

    .mui-scroll {
        background-color: $gray;
    }
}

p,
div,
span {
    font-size: .15rem;
    font-weight: 400;
    color: #3b3b3b
}

.price {
    margin-bottom: .1rem;
}

//订单确认
.order-confirm {

    .item {
        padding: .1rem;
    }

    .mui-icon-location {
        position: absolute;
        top: 50%;
        left: .05rem;
        transform: translateY(-50%);
        color: $blue;
        z-index: 10;

        ~ .row {
            padding-left: .35rem;
        }
    }

}

//订单支付
.order-pay {

    .header {
        height: .8rem;
        background-color: #fff;

        .icon::before {
            font-size: .5rem;
            padding-left: .1rem;
            padding-right: .05rem;
        }

        .text {
            height: .4rem;
        }
    }

    .time {
        padding: 0 .05rem;
    }

    .title {
        font-size: .16rem;
        color: #222;
    }

    .checkbox {
        display: inline-block;

        &::before {
            font-size: .2rem;
        }
    }

    .pay-way > .row {
        padding: 0 .05rem;
    }

    .small {
        padding-left: .15rem;
        font-size: .12rem;
        color: #787878;
    }

    .icon-zhifubao::before {
        padding-right: .06rem;
        padding-left: .03rem;
        color: #00aaee;
    }

    .icon-weixinzhifu::before {
        padding-right: .05rem;
        color: #43ad3f;
    }

    .icon-shijian::before {
        color: #ff5a5a;
        line-height: .6rem;
    }
}

//列表/详情都有用到
.order-info {
    .row {
        min-height: .25rem;
        line-height: .25rem;
    }

    .text-gray {
        padding-left: .05rem;
        font-weight: 300;
        color: $text-gray;
    }

    .red {
        padding-left: .01rem;
    }
}

//订单列表
.order-list {

    //引入网页上的icon
    @import url(//at.alicdn.com/t/font_1469019416_6717775.css);


    .order.mui-active {
        background-color: #fff;
    }

    .order-img {
        width: .65rem;
        height: .65rem;
    }

    .mui-table-view-cell {
        padding: .1rem;
    }


    .mui-navigate-right:after {
        font-size: .25rem;
    }

    .append-row {
        height: .5rem;
        line-height: .5rem;
        text-align: right;

        .mui-btn {
            height: .3rem;
            line-height: .3rem;
            font-weight: 300;
        }
    }
}

//订单详情
.order-detail {
    .order-info {
        padding: .1rem 0;
        background-color: white;
    }

    .show-more-info {
        text-align: center;

        &::before {
            content: '更多信息';
            color: $blue;
        }

        &::after {
            content: '\e581';
            right: initial;
            color: $blue;
        }

        &.active {
            &::before {
                content: '收起信息';
            }

            &::after {
                content: '\e580';
                top: .19rem;
            }
        }
    }

    .more-info {
        display: none;

        &.active {
            display: block;
        }
    }
}
